const router = require('koa-router')()
const {
    video
} = require('../controller/video')
const {
    SuccessModel,
    ErrorModel
} = require('../model/ResModel')

router.prefix('/api')

router.get('/video', async (ctx, next) => {
    console.log(123);
    ctx.body = await video()
})

module.exports = router
